package com.xmtlxx.tms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;



/**
 * 运单日志视图对象 t_waybill_log
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("运单日志视图对象")
@ExcelIgnoreUnannotated
public class WaybillLogVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    @ApiModelProperty("主键")
    private String id;

    /**
     * 运单ID
     */
    @ExcelProperty(value = "运单ID")
    @ApiModelProperty("运单ID")
    private String trackId;

    /**
     * 操作人
     */
    @ExcelProperty(value = "操作人")
    @ApiModelProperty("操作人")
    private String operatorId;

    /**
     * 操作人名称
     */
    @ExcelProperty(value = "操作人名称")
    @ApiModelProperty("操作人名称")
    private String operator;

    /**
     * 操作类型
     */
    @ExcelProperty(value = "操作类型")
    @ApiModelProperty("操作类型")
    private String type;

    /**
     * 操作内容
     */
    @ExcelProperty(value = "操作内容")
    @ApiModelProperty("操作内容")
    private String content;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String memeo;

    @ApiModelProperty("运单号")
    private String waybillNo;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;
}
